package domain;

import java.util.HashSet;
import java.util.Set;

public class ContactGroup {

	private int groupID;
	private String groupName;
	public Set<Contact> contacts;

	public ContactGroup() {
		contacts = new HashSet<Contact>();
	}

	public Set<Contact> getContacts() {
		return contacts;
	}

	public void setContacts(Set<Contact> contacts) {
		this.contacts = contacts;
	}

	public int getGroupID() {
		return groupID;
	}

	public void setGroupID(int groupID) {
		this.groupID = groupID;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public void setContact(Contact c) {
		contacts.add(c);
	}
}
